package com.lw.test.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.ArrayDeque;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import java.util.concurrent.DelayQueue;

/**
 * @Author liw
 * @Date 2021/5/12 15:43
 * @Version 1.0
 */

@Controller
public class HelloController {
    @ResponseBody
    @RequestMapping("/hello")
    public String hello(){

        List list = new LinkedList();
        Queue queue = new LinkedList();
        Queue queue1 = new DelayQueue();
        Queue a = new ArrayDeque();
        return "Hello World!";
    }
}
